package runtime.demo1;

/**
 * @Title: Run
 * @author: lianmingzhang
 * @Description: ()
 * @create: 2018/03/05 21:59
 * @return:
 */
public class Run {
    public static void main(String[] args) {
        Test test = new Test();
        Class<? extends Test> aClass = test.getClass();
        Msg msg = aClass.getAnnotation(Msg.class);
        System.out.print(msg.msg());
    }
}
